﻿using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using IDAL;
using Model;

namespace BLL
{
    public class TSemiProduct
    {
        private static readonly ITSemiProduct dal = DALFactory.DataAccess.CreateTSemiProduct();

        public bool AssembleDetailItems_Insert(TSemiProductInfo ad, DataTable itemdt)
        {
            return dal.AssembleDetailItems_Insert(ad, itemdt);
        }

        public IList<TSemiProductInfo> GetAssembleDetailbySN(string productSN)
        {
            return dal.GetAssembleDetailbySN(productSN);
        }
    }
}
